﻿<%@ Page Title="Bronyville Citadel - New Cap" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
CodeBehind="CitadelCapRegister.aspx.cs" Inherits="CitadelLog.CitadelCapRegister" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="Scripts/capcontrol.js"></script>
    <script type="text/javascript" src="Scripts/checkboxes.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="mybody">
        <div class="alert alert-success">
            You are logged in as <b>Bitz</b>!
        </div>
        Please select what you capped in this week:
        <br />

        <form runat="server" action="#" id="capdata">
            <div class="panel panel-default" style="display: inline-block">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <input type="checkbox" id="ischeckedlum" name="ischeckedlum" />
                        <label for="ischeckedlum">Timber</label>
                    </h3>
                </div>
                <div class="panel-body">
                    <asp:TextBox ID="textboxlum" CssClass="form-control" MaxLength="4" Enabled="false" runat="server" />
                    <!-- <input id="textboxlum" name="textboxlum" class="form-control" maxlength="4" type="text" /> -->
                </div>
            </div>

            <div class="panel panel-default" style="display: inline-block">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <input type="checkbox" id="ischeckedstone" name="ischeckedstone" />
                        <label for="ischeckedstone">Stone</label>
                    </h3>
                </div>

                <div class="panel-body">
                    <asp:TextBox ID="textboxstone" CssClass="form-control" MaxLength="4" Enabled="false" runat="server" />
                    <!-- <input id="textboxstone" name="textboxstone" class="form-control" maxlength="4" type="text" /> -->
                </div>
            </div>

            <br />
            <div style="display: inline-block; padding: 5px;" class="well">
                Sum: <span id="sum" class="sum">0</span>
            </div>
            <div id="warn3k" class="alert alert-danger">
                You cannot have a total cap amount greater than 2700!
            </div>
            <div id="staybutt">
                <asp:Button runat="server" Text="Submit!" id="done" OnClick="FormSubmit" CssClass="btn btn-lg btn-primary"/>
                <!--
                <button id="done" type="submit" class="btn btn-lg btn-primary">
                    Submit!
                </button>
                -->
            </div>
        </div>
    </form>
    <footer>
        <p class="text-muted" >Designed by Bitz.</p>
    </footer>
</asp:Content>
